﻿
#region Using
using System;
#endregion

/*****************************************
功能描述：OrderItem的实体类。
创建时间：2010/8/27 10:05:55
******************************************/
namespace BuXiaChu.OrderDishes.Model
{
    public class OrderItemModel
    {
        private int _orderItemId;
        /// <summary>
        /// 订单项目Id
        /// </summary> 
        public int OrderItemId
        {
            get { return _orderItemId; }
            set { _orderItemId = value; }
        }

        private int _restaurantId;
        /// <summary>
        /// 餐厅id
        /// </summary> 
        public int RestaurantId
        {
            get { return _restaurantId; }
            set { _restaurantId = value; }
        }

        private string _restaurantName;
        /// <summary>
        /// 
        /// </summary> 
        public string RestaurantName
        {
            get { return _restaurantName; }
            set { _restaurantName = value; }
        }

        private decimal _dishesId;
        /// <summary>
        /// 菜品Id
        /// </summary> 
        public decimal DishesId
        {
            get { return _dishesId; }
            set { _dishesId = value; }
        }

        private string _dishesName;
        /// <summary>
        /// 
        /// </summary> 
        public string DishesName
        {
            get { return _dishesName; }
            set { _dishesName = value; }
        }

        private long _orderInfoId;
        /// <summary>
        /// 订单编号
        /// </summary> 
        public long OrderInfoId
        {
            get { return _orderInfoId; }
            set { _orderInfoId = value; }
        }

        private int _number;
        /// <summary>
        /// 数量
        /// </summary> 
        public int Number
        {
            get { return _number; }
            set { _number = value; }
        }

        private decimal _price;
        /// <summary>
        /// 价格
        /// </summary> 
        public decimal Price
        {
            get { return _price; }
            set { _price = value; }
        }

        private int _unit;
        /// <summary>
        /// 
        /// </summary> 
        public int Unit
        {
            get { return _unit; }
            set { _unit = value; }
        }

        private int _discount;
        /// <summary>
        /// 
        /// </summary> 
        public int Discount
        {
            get { return _discount; }
            set { _discount = value; }
        }

        private string _remarks;
        /// <summary>
        /// 
        /// </summary> 
        public string Remarks
        {
            get { return _remarks; }
            set { _remarks = value; }
        }

        private System.DateTime _createDate;
        /// <summary>
        /// 
        /// </summary> 
        public System.DateTime CreateDate
        {
            get { return _createDate; }
            set { _createDate = value; }
        }

        private byte _status;
        /// <summary>
        /// 255 表示删除
        /// </summary> 
        public byte Status
        {
            get { return _status; }
            set { _status = value; }
        }

        private byte _box;
        /// <summary>
        /// 餐盒数量
        /// </summary> 
        public byte Box
        {
            get { return _box; }
            set { _box = value; }
        }

        private decimal _boxUnitPrice;
        /// <summary>
        /// 餐盒单价
        /// </summary> 
        public decimal BoxUnitPrice
        {
            get { return _boxUnitPrice; }
            set { _boxUnitPrice = value; }
        }

    }
}
